show counters interface ethernet

Displays the counters of Ethernet interface.

Syntax

show counters interface ethernet [ IFNAME| all | brief ]

Parameters

IFNAME
Specifies the interface name in slot/port or slot/port:breakout format. Example: 1/1, 1/1-3, 5, 2/7-9, 10:1-4.
all
Specifies all interfaces.
brief
Displays brief interface statistics.

Modes

Exec mode

Usage Guidelines

This command is available only to users with the admin role.

Examples

The following example shows counters of the Ethernet interface.

device# Interface Statistics: ethernet 1/1
Carrier Transitions: 0
           LastClear: 1h51m53.558433595s
Input:
              Total pkts: 20000000
          Broadcast pkts: 0
            Discard pkts: 0
             Errors pkts: 0
              FCS Errors: 0
              MCast pkts: 0
                  Octets: 7760000000
              UCast pkts: 20000000
               Runt pkts: 0
              CRC Errors: 0
Input Distribution:
            64 byte pkts: 0
        65-127 byte pkts: 0
       128-255 byte pkts: 0
       256-511 byte pkts: 10000000
      512-1023 byte pkts: 10000000
     1024-1518 byte pkts: 0
              Jumbo pkts: 0
Out:
              Total pkts: 0
          Broadcast pkts: 0
            Discard pkts: 0
             Errors pkts: 0
              MCast pkts: 0
                  Octets: 0
              UCast pkts: 0
Rate Info:
                   Input: 0.000000 Mbits/sec, 0 pkts/sec 0.00% of line-rate
                  Output: 0.000000 Mbits/sec, 0 pkts/sec 0.00% of line-rate

The following example shows brief statistics of the Ethernet interface.

device# show counters interface ethernet brief 
           Packets   Error     Discards   CRC 
Interface  rx  tx    rx  tx    rx  tx     rx     
=======   ========  ========   =======   ======   
Eth 1/1    0   0      0   0     0   0     0     
Eth 1/2    0   0      0   0     0   0     0     
Eth 1/3    0   0      0   0     0   0     0     
Eth 1/4    0   0      0   0     0   0     0     
Eth 1/5    0   144    0   0     0   0     0